$ /usr/bin/ruby -e \
  "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  $ brew update && brew install ruby
  $ brew link --overwrite ruby
重新啟動 Terminal
  $ sudo gem install bundler
  $ xcode-select --install
  $ sudo gem install -n /usr/local/bin fastlane --verbose
  $ brew cask install fastlane
  $ npx react-native init rndemo
  $ cd rndemo/ios
add to .zshrc
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
Gemfile
source "https://rubygems.org"
gem "fastlane"
  $ sudo gem install bundler
  $ bundle exec fastlane init
distribution to beta testing services
automate the App Store release process
setup code signing with fastlane
依據上述的 tutorial 就可以完成相對應的工作